package com.witmore.neutron.ai.web.controller.bo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author 豆子高
 * @date 2025-05-26 14:52
 */
@Data
public class AgentMessagesParamReq {
    /**
     * 消息列表
     */
    @NotNull(message = "messages不能为空")
    private List<MessageApiBO> messages;

    /**
     * 是否流式返回
     */
    @NotNull(message = "stream不能为空")
    private Boolean stream;

    /**
     * 来源 api web
     */
    @NotEmpty(message = "source不能为空")
    private String source;


    @NotEmpty(message = "sessionId不能为空")
    private String sessionId;


    private String agentCode;
}
